<?php
namespace zake\foundation\able\stream;

use zake\foundation\able\ProtocolAble;


interface ReadPointAble extends PointAble
{
    /**
     *
     * @return ProtocolAble
     *
     * @author liu.bin 2020-04-02 22:40
     */
    public function getReadProtocol();


    /**
     *
     * @param ProtocolAble $protocol
     * @return bool
     *
     * @author liu.bin 2020-04-02 22:40
     */
    public function setReadProtocol(ProtocolAble $protocol);
}